//
//  SQManager.h
//  SQLiteForOCModel
//
//  Created by 唐健 on 2018/10/4.
//  Copyright © 2018年 唐健. All rights reserved.
//

#import <Foundation/Foundation.h>

#define SQModel_idMarkKey @"_SQModel_id_MarkKey"

#define JsonConvertMarkKey  @"_JsonConvertMarkKey"

#define SQModel_updateTimeKey @"_SQModel_updateTimeKey"

#define SQModel_tabNameKey    @"_SQModel_tabNameKey"

@interface SQManager : NSObject

+ (void)SQDB_INSERT_WithkeyAndValue:(NSDictionary *)SQModel_keyAndValue insertResult:(void (^)(BOOL isSuccess))result;

+ (void)SQDB_DELETE_WithSQModel_id:(NSString *)SQModel_id tabName:(NSString *)tabName deleteResult:(void (^)(BOOL isSuccess))result;

+ (void)SQDB_DELETE_WithSQModelWithTabName:(NSString *)tabName deleteResult:(void (^)(BOOL isSuccess))result;

+ (void)SQDB_SELECT_WithSQModel_id:(NSString *)SQModel_id tabName:(NSString *)tabName selectResult:(void (^)(NSDictionary *sqDict))result;

+ (void)SQDB_SELECT_AllSQModelTabName:(NSString *)tabName selectResult:(void (^)(NSArray *dictArr))result;

@end
